//
//  PYModel.m
//  catuncel
//
//  Created by Jim on 2017/10/1.
//  Copyright © 2017年 Jim. All rights reserved.
//

#import "PYModel.h"

@implementation PYModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        
        [self setValuesForKeysWithDictionary:dict];
    }
    
    return self;
}

+ (instancetype)modelWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

@end
